Include xlat_tables.h in plat_arm.h
authorSoby Mathew <[email protected]>
Tue, 27 Oct 2015 10:31:35 +0000 (10:31 +0000)
committerSoby Mathew <[email protected]>
Fri, 30 Oct 2015 09:25:16 +0000 (09:25 +0000)
This patch fixes a compilation issue for platforms that are aligned to ARM
Standard platforms and include the `plat_arm.h` header in their platform port.
The compilation would fail for such a platform because `xlat_tables.h` which
has the definition for `mmap_region_t` is not included in `plat_arm.h`. This
patch fixes this by including `xlat_tables.h` in `plat_arm.h` header.

Fixes ARM-Software/tf-issues#318

Change-Id: I75f990cfb4078b3996fc353c8cd37c9de61d555e

include/plat/arm/common/plat_arm.h

index ad41f4f0a1829dc479f61fa4e7734029ebedeeef..c3b6882c0135e2efb0c14d8ef9233bf76b38a92e 100644 (file)
@@ -35,6 +35,7 @@
 #include <cassert.h>
 #include <cpu_data.h>
 #include <stdint.h>
+#include <xlat_tables.h>
 
 
 /*